<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>mission22</title>
    <style type="text/css">
        html, body {
            width: 100%;
            height: 100%;
            text-align: center;
        }
        button {
            border:0;
            box-shadow: 3px 3px 10px rgba(0,0,0,0.5);
            padding: 5px;
            margin:20px 5px;
            cursor: pointer;
            background-color: #fff;
        }
        button:active {
            box-shadow: 0 0 5px rgba(0,0,0,0.5);
        }
        div {
            float: left;
            padding: 20px;
            margin: 10px;
            border: 1px solid #000;
            background-color: #fff;
            color: #000;
        }
    </style>
</head>
<body>
<div class="root">
    Super
    <div class="child_1">
        Cat
        <div class="child_2">
            Apple
            <div class="child_3">Pear</div>
            <div class="child_3">Pig</div>
            <div class="child_3">Cola</div>
            <div class="child_3">Soccer</div>
        </div>
        <div class="child_2">Phone</div>
        <div class="child_2">
            <div class="child_3">Book</div>
            <div class="child_3">School</div>
        </div>
    </div>
    <div class="child_1">
        Note
        <div class="child_2">
            Humane
            <div class="child_3">Code</div>
            <div class="child_3">Operate</div>
            <div class="child_3">Man</div>
        </div>
        <div class="child_2">
            Program
            <div class="child_3">
                Bement
                <div class="child_4">Cat</div>
            </div>
            <div class="child_3">Glass</div>
        </div>
    </div>
    <div class="child_1">Fish</div>
</div>
<button id="dfSearch">深度优先搜索</button>
<button id="bfSearch">广度优先搜索</button>
<input id="foundInput" type="text">
<button id="dfFound">深度优先查找</button>
<button id="bfFound">广度优先查找</button>
<button id="removeNode">删除节点</button>
<input id="addInput" type="text" >
<button id="addNode">添加节点</button>

<script type="text/javascript" src="task.js"></script>
</body>
</html>